package thread.zjitc.net.lib.HomeWork1;

public class MyClass extends Thread{
    public static void main(String[] args) {
        Thread mThread=new MyClass();
        mThread.start();
        System.out.println(mThread);
        System.out.println(mThread.getName());
        System.out.println(mThread.getPriority());
    }

    @Override
    public void run() {
        System.out.println("Hello Woeld");
    }
}
